package com.ruoyi.cinema.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 影片剧照对象 film_still
 *
 * @author HHAOYU
 * @date 2020-12-07
 */
@TableName("film_still")
public class FilmStill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;
    /** 影片ID */
    @Excel(name = "影片ID")
    private Long filmId;
    /** 地址 */
    @Excel(name = "地址")
    private String url;
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFilmId(Long filmId)
    {
        this.filmId = filmId;
    }

    public Long getFilmId()
    {
        return filmId;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("filmId", getFilmId())
            .append("url", getUrl())
            .toString();
    }
}
